package com.microlecture.mapper;

import com.microlecture.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Order record);

    List<Order> selectByCondition(@Param("userid") Integer userid, @Param("cookbookid") Integer cookbookid);

}